package com.jic.point.controller.feign;

import com.jic.point.api.PresentApi;
import com.jic.point.common.RestResult;
import com.jic.point.rest.request.Present;
import com.jic.point.rest.request.PresentList;
import com.jic.point.rest.response.PresentListResponse;
import com.jic.point.rest.response.PresentResponse;
import io.swagger.annotations.Api;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @ClassName PresentClient
 * TODO
 * @Description
 * @Author chenhongfeng
 * @Date 2020/11/25 18:13
 * @Version 1.0
 **/
@Api(tags = {"Feign-礼品"})
@RequestMapping(value = "/api/point/present")
@RestController
public class PresentClient implements PresentApi {
    /**
     * 查询各礼品平台的剩余预算
     * 需求方预算余额查询
     * @param present
     * @return
     */
    @PostMapping("/query")
    @Override
    public RestResult<PresentResponse> queryPresent(Present present) {
        return null;
    }
    /**
     * 礼品列表查询
     * 权益活动配置礼品-礼品列表查询
     * @param present
     * @return
     */
    @PostMapping("/listQuery")
    @Override
    public RestResult<PresentListResponse> listPresent(PresentList present) {
        return null;
    }
}
